home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Linux Cubed Series 7: Sunsite
/
Linux Cubed Series 7 - Sunsite Vol 1.iso
/
system
/
shells
/
kiss-0.11
/
kiss-0
/
kiss
/
src
/
dounsetenv.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-03-23
|
252b
|
16 lines
#include "kiss.h"
int dounsetenv (Stringstack s)
{
if (getopt (s.nstr, s.str, "h") != -1 || s.nstr != 2)
{
warning ("Bad commandline.\n"
"Usage: unsetenv variable\n");
return (1);
}
addtoenv (s.str [1], NULL);
return (0);
}